<template>
  <div class="profile-container">
    <div class="login-register">
      <div class="left-icon">
        <img src="./images/头像.png" alt="用户头像" />
        <div>
          <span>登录 注册</span>
          <div>
            <img src="./images/手机.png" alt="手机小图标" />
            <span>暂无绑定手机号</span>
          </div>
        </div>
      </div>
      <div class="right-icon">
        <img src="./images/右 (1).png" alt="right" />
      </div>
    </div>
    <div class="user-discount">
      <span>
        <b>0.00元</b> 
        <small>我的余额</small>
      </span>
      <span>
        <b>0.00元</b> 
        <small>我的卡卷</small>
      </span>
      <span>
         <b>0.00元</b> 
        <small>我的明细</small>
      </span>
    </div>
    <div class="server-list">
        <span><img src="./images/订单.png" alt="我的订单">我的订单</span>
        <span><img src="./images/积分.png" alt="积分商城">积分商城</span>
        <span><img src="./images/会员卡.png" alt="外卖会员卡">外卖会员卡</span>
        <span><img src="./images/服务中心.png" alt="服务中心">服务中心</span>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {};
  }
};
</script>

<style lang="scss" scoped>
.login-register {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 6rpx;
  background-color: #008fff;
  font-size: 28rpx;
  .right-icon {
    flex: 1;
    img {
      width: 40rpx;
      height: 40rpx;
    }
  }
  .left-icon {
    display: flex;
    color: white;
    flex: 8;
    img {
      width: 180rpx;
      height: 180rpx;
    }
    > div {
      display: flex;
      flex-direction: column;
      justify-content: center;
      span {
        margin-left: 22rpx;
      }
      img {
        width: 80rpx;
        height: 80rpx;
      }
      > div {
        display: flex;
        align-items: center;
      }
    }
  }
}
.user-discount{
  display: flex;
  border: 1px #e8e8e8 solid;
  color: gray;
  >span{
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40rpx;
    border-left: 1px #e8e8e8 solid;
  }
  span:nth-child(1){
    b{
      color: orange;
    }
  }
  span:nth-child(2){
    b{
      color:violet;
    }
  }
   span:nth-child(3){
    b{
      color:rgb(13, 149, 212);
    }
  }
}
.server-list{
  font-size: 34rpx;
  span{
    border-bottom: 1px rgb(214, 210, 210) solid;
    padding: 20rpx ;
    display: flex;
    align-items: center;
  }
  img{
    width: 45rpx;
    height: 45rpx;
    margin: 0 20rpx;
  }
}
</style>

